#include <cdroid.h>
#include <cdlog.h>
#include "R.h"
#include "wind_mgr.h"
#include "page_mode1.h"
#include "page_mode2.h"
#include "conf_mgr.h"
#include "conn_mgr.h"
#include "tuya_conn_mgr.h"

int main(int argc, const char* argv[]) {
    App app(argc, argv);
    cdroid::Context* ctx = &app;

    d_windMgr->initWindow();
    d_windMgr->showPage(PAGE_MODE1);

    g_tuYaObjConnMgr->init();
    g_objConnMgr->init();
    d_fileLoad->init();
    
    return app.exec();
}
